import request from '@/utils/request'

export function warningSkuList() {
    return request({
        url: '/purchase/purchase/warningSkuList',
        method: 'get'
    })
}

export function supplierList() {
    return request({
        url: '/purchase/suppliers/list',
        method: 'get'
    })
}

export function add(data) {
    return request({
        url: '/purchase/purchase/add',
        method: 'post',
        data: data
    })
}
